﻿using mozhi.smarterp.BasicData.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Volo.Abp.Application.Dtos;

namespace mozhi.smarterp.BasicData.Products
{
    public class ProductAuxiliaryUnitUpdateDto :EntityDto<Guid>
    {
        public bool Activated { set; get; }

        [Required]
        public Guid ProductId { get; set; }

        [Required]
        public Guid OtherUnitId { get; set; }

        [Required]
        public AuxiliaryUnitRateType Type { get; set; }

        /// <summary>
        /// 换算率
        /// </summary>
        [Required]
        public decimal ConversionRate { get; set; }
    }
}
